<template>
  <a-card :bordered="false" class="b-page">
    <b-loading v-if="loading"/>
    <slot></slot>
  </a-card>
</template>

<script>
  export default {
    name: 'BPage',
    props: {
      loading: {
        type: Boolean,
        default: false
      }
    }
  }
</script>

<style scoped>
  .b-page {
    position: relative;
  }
</style>
